<!doctype html>
<meta charset="utf-8">
<body>
<script>
window.onbeforeunload = () => ({ toString: () => { parent.currentEventInToString = window.event; } });
</script>
